package com.cleamy.demo.pojo;

public class Student {
    private Integer id;
    private String name;
    private String course;
    private Integer score;

    public Student (){}
    public Student(String sname, String course, Integer score) {
        this.name = sname;
        this.course = course;
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + id +
                ", sname='" + name + '\'' +
                ", course='" + course + '\'' +
                ", score=" + score +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
}
